package com.latefly.skewwork.ui.page.practice

import androidx.compose.foundation.layout.Row
import androidx.compose.foundation.layout.fillMaxWidth
import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.padding
import androidx.compose.material3.Button
import androidx.compose.material3.Text
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import androidx.compose.ui.unit.dp
import androidx.navigation.NavHostController
import com.latefly.skewwork.ui.component.Chip

@Composable
fun TestPage(
    navController: NavHostController,
    modifier: Modifier
) {
    Row {
        Chip(text = "BBBBBBBBBBBBB")
        Button(
            onClick = {
                navController.navigate("Home")
            }, modifier = Modifier
                .padding(horizontal = 16.dp, vertical = 16.dp)
                .height(48.dp)
                .fillMaxWidth()
        ) {
            Text(text = "To Main Page!")
        }
    }

}